package com.snow.rbac;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@Slf4j
@SpringBootApplication
//@EnableDiscoveryClient
//@EnableFeignClients
//@MapperScan("com.snow.dayou.mapper")
//@EnableAspectJAutoProxy(exposeProxy = true)
public class RbacApplication {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(RbacApplication.class, args);
        String serverPort = context.getEnvironment().getProperty("server.port");
        log.info("启动成功! Swagger2: http://127.0.0.1:" + serverPort + "/swagger-ui.html");
    }

}
